import request from '@/utils/request'

import variable from '@/utils/variables'
const baseURL = variable.URL.baseURL


//获取PC专题
export function selectMotif(params) {
    return request({
        baseURL: baseURL,
        url: '/motif_product/front/select_one',
        method: 'GET',
        params: params
    })
}

//商品列表
export function findProducts(params) {
    return request({
        baseURL: baseURL,
        url: '/product/front/list_by_ids',
        method: 'GET',
        params: params
    })
}

//主题列表
export function floorList(params) {
    return request({
        baseURL: baseURL,
        url: '/motif_product/front/promotion/index_motif/pc/select_list',
        method: 'GET',
        params: params
    })
}
